package com.demo.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import com.demo.asyncs.ReadKMLAsyncTask;

public class PlacesService extends Service {

	@Override
	public IBinder onBind(Intent arg0) {
		return null;
	}
	
	@Override
	public int onStartCommand(Intent intent, int flags, int startId) {
		super.onStartCommand(intent, flags, startId);
		
		ReadKMLAsyncTask async = new ReadKMLAsyncTask(this);
		async.execute();
		
		return START_NOT_STICKY;
	}

}
